package com.ld.security.server.admin.modules.ge.constant;

import com.ld.security.common.mybatis.base.constant.SuperConstant;


public class GeDataSourceConstant extends SuperConstant {



    public enum dataSourceType implements SuperEnum {
        mysql("com.mysql.jdbc.Driver","com.alibaba.druid.pool.DruidDataSource","mysql")
        ;
        private final String driverClassName;

        private final String type;

        private final String labal;

        dataSourceType(String driverClassName, String type, String labal) {
            this.driverClassName = driverClassName;
            this.type = type;
            this.labal = labal;
        }

        @Override
        public String getLabel() {
            return labal;
        }

        @Override
        public String getValue() {
            return this.name();
        }

        public String getDriverClassName() {
            return driverClassName;
        }

        public String getType() {
            return type;
        }


    }




}
